menusectionbox: add support for "text-direction" attribute
authorChristian Hergert <chergert@redhat.com>
Wed, 12 Oct 2016 20:56:57 +0000 (13:56 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Oct 2016 10:34:50 +0000 (06:34 -0400)
commit133da654338544c9d8bf657eb3da3f5902e8889b
tree5a8052db351427b827eef5c2cf8a9473f5c827b0
parent9e2b1ad39e86b2352116f49214cf195cb3e0e970
menusectionbox: add support for "text-direction" attribute

This allows the use of a "text-direction" hint set to one of "none", "rtl",
or "ltr" to enforce the text direction of a "horizontal-buttons"
display-hint.

This is useful when a menu has buttons that map to physical space in the
UI and therefore must match the application widgetry.

https://bugzilla.gnome.org/show_bug.cgi?id=772775
gtk/gtkapplicationwindow.c
gtk/gtkmenusectionbox.c
gtk/gtkmenutrackeritem.c
gtk/gtkmenutrackeritem.h